﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Softserve.Pottery.Infrastructure;
using Softserve.Pottery.Infrastructure.Interfaces;

namespace Softserve.Pottery.Store.Domains
{
    public class Catalog : IValidatable, IDomain
    {
        #region Properties

        /// <summary>
        /// Catalog id
        /// </summary>
        public int Id
        {
            get { return m_Id; }
            set { m_Id = value; }
        }
        
        /// <summary>
        /// Russian catalog name
        /// </summary>
        public string Name
        {
            get { return m_Name; }
            set { m_Name = value; }
        }
        
        #endregion

        #region Methods

        public bool Validate()
        {
            return true;
        }

        #endregion

        #region Fields

        private int m_Id = default(int);

        private string m_Name = String.Empty;

        #endregion
    }
}
